package com_2;

import jdk.swing.interop.SwingInterOpUtils;

public class TestDemo {
    public static void main(String[] args) {
   useTest1(new Test1() {
       @Override
       public void show() {
           System.out.println("吃东西");
       }
   });
    }
    public static void useTest1(Test1 t){
t.show();
    }
}
